package com.ocom.common.entity.human;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.ocom.common.entity.base.EntityBase;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;

@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName(value = "visitor_approver")
public class EntityVisitorApprover extends EntityBase implements Serializable {

  private static final long serialVersionUID = -3060433101834817062L;
  @TableId(value = "id", type = IdType.AUTO)
  private Long id;
  private Long comId;
  @JsonProperty("pId")
  private Long pId;
  @JsonProperty("pName")
  private String pName;
  private String phone;
  @JsonProperty("openId")
  private String openId;
  @JsonProperty("sendPhone")
  private Long sendPhone;
  private Long sendWx;
  private Long status;
  private Long deptId;
  @JsonProperty("deptName")
  private String deptName;

}
